package cn.phecda.boot.data.test.mybatis;

import cn.phecda.boot.data.mybatis.entity.AbstractStatusMybatisEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p> TODO </p>
 *
 * @author : wanpinwei
 */
@Getter
@Setter
@TableName("person")
public class PersonMybatisEntity extends AbstractStatusMybatisEntity {
    @TableId("id")
    private String id;

    @TableField("name")
    private String name;

    public PersonMybatisEntity() {
    }

    public PersonMybatisEntity(String name) {
        this.name = name;
    }
}
